ifeq ($(CFG_SDK_EXPORT_FLAG),)
    SDK_DIR := $(shell cd $(CURDIR)/../../../../.. && /bin/pwd)
endif

include $(SDK_DIR)/build/base.mk
include $(SDK_DIR)/source/gmp/modules/isp/arch.mk

objects := 3a
objects += firmware
objects += sensor/$(CHIPARCH)

objects_clean := $(addsuffix _clean, $(objects))

.PHONY: all clean prepare $(objects) $(objects_clean)

all: prepare $(objects)

clean: $(objects_clean)

$(objects):
	$(AT)$(MAKE) -C $@

$(objects_clean):
	$(AT)$(MAKE) -C $(patsubst %_clean, %, $@) clean

prepare:

